package com.link.base.base.common.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * 菜单类
 *
 * @author ZHENGHONGDA
 */
public class Menu extends BasicModel {
    private static final long serialVersionUID = 3355582225011196809L;
    /**
     * 弃用的字段？
     */
    private String iconCls;
    /**
     * 菜单图标
     */
    private String menuIcon;
    /**
     * 菜单请求URL
     */
    private String menuUrl;
    /**
     * 菜单名称
     */
    private String text;
    /**
     * 排序号码
     */
    private String sortNumber;
    /**
     * 状态
     */
    private String state;
    /**
     * 父菜单Id
     */
    private Long parentMenuId;
    /**
     * 父菜单名称
     */
    private String parentMenuName;
    /**
     * 菜单类型
     */
    private String menuType;
    /**
     * 菜单类型名称
     */
    private String menuTypeName;
    /**
     * 说明
     */
    private String comments;
    /**
     * 职责Id
     */
    private Long dutyId;
    /**
     * 菜单等级
     */
    private String menuGrade;
    /**
     * 安全性
     */
    private String oauthType;
    /**
     * 其他安全性sql
     */
    private String oauthSql;
    /**
     * 所属系统(DMS/CRM)
     */
    private String platformType;
    /**
     * 菜单只读标记
     */
    private String readonlyFlag;
    /**
     * 菜单可新建标记
     */
    private String addFlag;
    /**
     * 菜单可编辑标记
     */
    private String editFlag;
    /**
     * 菜单可删除标记
     */
    private String deleteFlag;
    /**
     * 菜单可导入标记
     */
    private String importFlag;
    /**
     * 菜单可导出标记
     */
    private String exportFlag;
    /**
     * 是否在当前窗口打开页面
     */
    private String openNewpageFlag;
    /**
     * 某职责下菜单只读标记
     */
    private String dutyReadonlyFlag;
    /**
     * 某职责下菜单可新建标记
     */
    private String dutyAddFlag;
    /**
     * 某职责下菜单可编辑标记
     */
    private String dutyEditFlag;
    /**
     * 某职责下菜单可删除标记
     */
    private String dutyDeleteFlag;
    /**
     * 某职责下菜单可导入
     */
    private String dutyImportFlag;
    /**
     * 某职责下菜单可导出
     */
    private String dutyExportFlag;
    /**
     * 默认空查询
     */
    private String defaultNoQueryFlag;
    /* *************************** */
    /**
     * 以下这些字段为 行业版本 字段，必须与值列表中INDUSTRY_VERSION类型的独立源代码一一对应
     * 通用版
     */
    private String universalInd;
    /**
     * 快消行业版
     */
    private String fmcgInd;
    /**
     * 制造/高科技版
     */
    private String highTechInd;
    /**
     * 家居行业版
     */
    private String homeInd;
    /**
     * 金融行业版
     */
    private String finInd;
    /**
     * 零售行业版
     */
    private String retailInd;
    /**
     * 汽车行业版
     */
    private String autoInd;
    /* *************************** */
    /**
     * 是否查询个性化菜单
     */
    private String unionFlag;

    /**
     * 是否公共菜单（账套为000，且commonFlag=="Y")
     */
    private String commonFlag;

    /**
     * 是否首页类型，一级菜单有效
     */
    private String homePageFlag;

    /**
     * 父菜单是否首页类型，一级菜单有效
     */
    private String parentHomePageFlag;

    private List<Menu> children;
    private List<Menu> subMenus;
    /**
     * 客户自主分配
     */
    private String indepDistri;

    /*
     * 菜单用户id
     */
    private Long userId;

    private String loginLanguage;

    public String getLoginLanguage() {
        return loginLanguage;
    }

    public void setLoginLanguage(String loginLanguage) {
        this.loginLanguage = loginLanguage;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Menu() {
    }

    public String getCommonFlag() {
        return commonFlag;
    }

    public void setCommonFlag(String commonFlag) {
        this.commonFlag = commonFlag;
    }

    public String getParentHomePageFlag() {
        return parentHomePageFlag;
    }

    public void setParentHomePageFlag(String parentHomePageFlag) {
        this.parentHomePageFlag = parentHomePageFlag;
    }

    public String getHomePageFlag() {
        return homePageFlag;
    }

    public void setHomePageFlag(String homePageFlag) {
        this.homePageFlag = homePageFlag;
    }

    public String getUnionFlag() {
        return unionFlag;
    }

    public void setUnionFlag(String unionFlag) {
        this.unionFlag = unionFlag;
    }

    public String getDutyImportFlag() {
        return dutyImportFlag;
    }

    public void setDutyImportFlag(String dutyImportFlag) {
        this.dutyImportFlag = dutyImportFlag;
    }

    public String getImportFlag() {
        return importFlag;
    }

    public void setImportFlag(String importFlag) {
        this.importFlag = importFlag;
    }

    public String getDefaultNoQueryFlag() {
        return defaultNoQueryFlag;
    }

    public void setDefaultNoQueryFlag(String defaultNoQueryFlag) {
        this.defaultNoQueryFlag = defaultNoQueryFlag;
    }

    public String getOpenNewpageFlag() {
        return openNewpageFlag;
    }

    public void setOpenNewpageFlag(String openNewpageFlag) {
        this.openNewpageFlag = openNewpageFlag;
    }

    public String getExportFlag() {
        return exportFlag;
    }

    public void setExportFlag(String exportFlag) {
        this.exportFlag = exportFlag;
    }

    public String getDutyExportFlag() {
        return dutyExportFlag;
    }

    public void setDutyExportFlag(String dutyExportFlag) {
        this.dutyExportFlag = dutyExportFlag;
    }

    public String getDutyReadonlyFlag() {
        return dutyReadonlyFlag;
    }

    public void setDutyReadonlyFlag(String dutyReadonlyFlag) {
        this.dutyReadonlyFlag = dutyReadonlyFlag;
    }

    public String getDutyAddFlag() {
        return dutyAddFlag;
    }

    public void setDutyAddFlag(String dutyAddFlag) {
        this.dutyAddFlag = dutyAddFlag;
    }

    public String getDutyEditFlag() {
        return dutyEditFlag;
    }

    public void setDutyEditFlag(String dutyEditFlag) {
        this.dutyEditFlag = dutyEditFlag;
    }

    public String getDutyDeleteFlag() {
        return dutyDeleteFlag;
    }

    public void setDutyDeleteFlag(String dutyDeleteFlag) {
        this.dutyDeleteFlag = dutyDeleteFlag;
    }

    public String getReadonlyFlag() {
        return readonlyFlag;
    }

    public void setReadonlyFlag(String readonlyFlag) {
        this.readonlyFlag = readonlyFlag;
    }

    public String getAddFlag() {
        return addFlag;
    }

    public void setAddFlag(String addFlag) {
        this.addFlag = addFlag;
    }

    public String getEditFlag() {
        return editFlag;
    }

    public void setEditFlag(String editFlag) {
        this.editFlag = editFlag;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getMenuGrade() {
        return menuGrade;
    }

    public void setMenuGrade(String menuGrade) {
        this.menuGrade = menuGrade;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public List<Menu> getChildren() {
        return children;
    }

    public void setChildren(List<Menu> children) {
        this.children = children;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Long getParentMenuId() {
        return parentMenuId;
    }

    public void setParentMenuId(Long parentMenuId) {
        this.parentMenuId = parentMenuId;
    }

    public String getParentMenuName() {
        return parentMenuName;
    }

    public void setParentMenuName(String parentMenuName) {
        this.parentMenuName = parentMenuName;
    }

    public Long getDutyId() {
        return dutyId;
    }

    public void setDutyId(Long dutyId) {
        this.dutyId = dutyId;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMenuTypeName() {
        return menuTypeName;
    }

    public void setMenuTypeName(String menuTypeName) {
        this.menuTypeName = menuTypeName;
    }

    public String getSortNumber() {
        return sortNumber;
    }

    public void setSortNumber(String sortNumber) {
        this.sortNumber = sortNumber;
    }

    public List<Menu> getSubMenus() {
        return subMenus;
    }

    public void setSubMenus(List<Menu> subMenus) {
        this.subMenus = subMenus;
    }

    public String getOauthType() {
        return oauthType;
    }

    public void setOauthType(String oauthType) {
        this.oauthType = oauthType;
    }

    public String getOauthSql() {
        return oauthSql;
    }

    public void setOauthSql(String oauthSql) {
        this.oauthSql = oauthSql;
    }

    public String getPlatformType() {
        return platformType;
    }

    public void setPlatformType(String platformType) {
        this.platformType = platformType;
    }

    public String getUniversalInd() {
        return universalInd;
    }

    public void setUniversalInd(String universalInd) {
        this.universalInd = universalInd;
    }

    public String getFmcgInd() {
        return fmcgInd;
    }

    public void setFmcgInd(String fmcgInd) {
        this.fmcgInd = fmcgInd;
    }

    public String getHighTechInd() {
        return highTechInd;
    }

    public void setHighTechInd(String highTechInd) {
        this.highTechInd = highTechInd;
    }

    public String getHomeInd() {
        return homeInd;
    }

    public void setHomeInd(String homeInd) {
        this.homeInd = homeInd;
    }

    public String getFinInd() {
        return finInd;
    }

    public void setFinInd(String finInd) {
        this.finInd = finInd;
    }

    public String getRetailInd() {
        return retailInd;
    }

    public void setRetailInd(String retailInd) {
        this.retailInd = retailInd;
    }

    public String getAutoInd() {
        return autoInd;
    }

    public void setAutoInd(String autoInd) {
        this.autoInd = autoInd;
    }

    public String getIndepDistri() {
        return indepDistri;
    }

    public void setIndepDistri(String indepDistri) {
        this.indepDistri = indepDistri;
    }
}
